import os

def sname(apath):
    return os.path.split(apath)[-1]